package Demo;

public class Cat extends Animal{
    static{
        System.out.println("static :: Cat()");
    }
    {
        System.out.println("实例代码块……Cat()");
    }
    public Cat(String name, int age) {
        super(name, age);
    }

    public void mimi (){
        System.out.println(this.name+"正在喵喵叫");
    }
}
